<!--{include(pe_tpl('header_dialog.html'));}-->
<form method="post" id="form" autocomplete="off">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang_border">
<tr>
	<td class="bgtt" width="150">退款单号：</td>
	<td>{$info['refund_id']}</td>
</tr>
<tr>
	<td class="bgtt">退款类型：</td>
	<td>{$ini['refund_type'][$info['refund_type']]}</td>
</tr>
<!--{if($info['refund_point'] > 0):}-->
<tr>
	<td class="bgtt">退款积分：</td>
	<td>{$info['refund_point']} 积分 <span class="cbbb mal10">（最多可退 {$refund_maxmoney['point']} 积分）</span></td>
</tr>
<!--{endif;}-->
<tr>
	<td class="bgtt">退款金额：</td>
	<td>{$info['refund_money']} 元 <span class="cbbb mal10">（最多可退 {$refund_maxmoney['money']} 元，含运费 {$refund_maxmoney['wl']} 元）</span></td>
</tr>
<!--{if($info['refund_type'] == 2):}-->
<tr>
	<td class="bgtt">退货地址：</td>
	<td>
		<select name="address_id" class="inputselect mar5" style="width:350px">
		<option value="0">请选择..</option>
		<!--{$num=1;}-->
		<!--{foreach($address_list as $v):}-->
		<option value="{$v['address_id']}">{$num++}) {$v['refund_tname']}, {$v['refund_phone']}, {$v['refund_address']}</option>
		<!--{endforeach;}-->
		</select>
		<a href="javascript:address_btn();" class="admin_edit mar3">管理</a>
		<a href="javascript:pe_open('reload');" class="admin_btn">刷新</a>
	</td>
</tr>
<!--{endif;}-->
</table>
<div style="height:60px"></div>
<div class="right_bottom center">
	<input type="hidden" name="pe_token" value="{$pe_token}" />
	<input type="hidden" name="pesubmit" value="{$pe_token}" />
	<input type="button" value="提 交" class="tjbtn">
</div>
</form>
<script type="text/javascript">
$(function(){
	$(":button").click(function(){
		pe_submit('{pe_nowurl()}', function(json){
			if (json.code == 1) pe_open('dialog', 1000);
		})
	})
})
function address_btn() {
	window.parent.layer.open({
		type: 2,
		title: '退货地址管理',
		area: ['900px', '600px'],
		fixed: false, //不固定
		shadeClose: true,
		shade: 0.5,
		content: 'admin.php?mod=refund_addr'
	});
}
</script>
<!--{include(pe_tpl('footer_dialog.html'));}-->